package NestedPropertyValuesTest;

public class Setting {
    private int a=0;
    private int b=0;
    private int c=0;
    private String s="na";
    private float f=0.065F;
    public Setting modifyA(int a){
        this.a=a;
        return this;
    }
    public Setting modifyB(int b){
        this.b=b;
        return this;
    }
    public Setting modifyC(int c){
        this.c=c;
        return this;
    }
    public Setting modifyS(String s){
        this.s=s;
        return this;
    }
    public Setting modifyF(float f){
        this.f=f;
        return this;
    }

    @Override
    public String toString() {
        return "Setting{" +
                "a=" + a +
                ", b=" + b +
                ", c=" + c +
                ", s='" + s + '\'' +
                ", f=" + f +
                '}';
    }
}
